<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="content-type" content="text/html; charset=<?php $this->options->charset(); ?>" />

<?php if($this->is('index')): ?><title><?php $this->options->title(); ?>&#160;&#45;&#160;<?php $this->options->description(); ?></title><?php else: ?><title><?php $this->archiveTitle('', '', ''); ?>&#160;&#45;&#160;<?php $this->options->title(); ?></title><?php endif; ?>
<link rel="shortcut icon" href="<?php $this->options->siteUrl('favicon.ico'); ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php $this->options->themeUrl('style.css'); ?>" />
<script type="text/javascript" src="<?php $this->options->themeUrl('js/jquery.min.js');?>"></script>
<script type="text/javascript" src="<?php $this->options->themeUrl('js/post.js');?>"></script>
<script type="text/javascript" src="<?php $this->options->themeUrl('js/html.js');?>"></script>


<!--博客顶部加载条JS-->
<script type="text/javascript">$("#page_loading_in").animate({width:"10%"});</script>
<!--博客顶部加载条JS END-->
<?php $this->header(); ?>
</head>
<body>
<div id="page_loading"><div id="page_loading_in"></div></div>
<div id="header">
	<div class="row clear">
		<div id="search">
			<div class="navbar_search_pic">
				<form method="get" id="searchform" class="search" action="<?php $this->options->siteUrl(); ?>search">
					<input name="g" id="s" type="text" class="search_text left" onfocus="this.value = this.value == this.defaultValue ? '' : this.value" onblur="this.value = this.value == '' ? this.defaultValue : this.value" value="Search...">
					<input type="submit" name="button" value="" class="search_submit right">
				</form>
			</div>
		</div>
			
		<div id="logo">
			<a href="<?php $this->options->siteUrl(); ?>" title="<?php $this->options->title();?>">所谓刚子</a>
		</div>
		<div id="menu">
		<ul class="clear">
			<li<?php if($this->is('index')): ?> class="current"<?php endif; ?>><a href="<?php $this->options->siteUrl(); ?>"><?php _e('首页'); ?></a></li>
			<?php $this->widget('Widget_Metas_Category_List')->to($category); ?>
			<?php $expire = $this->options->gmtTime + $this->options->timezone + 30*24*3600; 
						while($category->next()): ?>
			<li<?php if($this->is('category', $category->slug)): ?> class="current"<?php endif; ?>><a href="<?php $category->permalink(); ?>" title="<?php $category->title(); ?>"><?php $category->name(); ?></a></li>
			<?php endwhile; ?>
			<li<?php if($this->is('page', 'archives')): ?> class="current"<?php endif; ?>><a href="<?php $this->options->siteUrl(); ?>archives"><?php _e('归档'); ?></a></li>
			<li<?php if($this->is('page', 'says')): ?> class="current"<?php endif; ?>><a href="<?php $this->options->siteUrl(); ?>says"><?php _e('留言'); ?></a></li>
			<li<?php if($this->is('page', 'about')): ?> class="current"<?php endif; ?>><a href="<?php $this->options->siteUrl(); ?>about"><?php _e('关于'); ?></a></li>
			<li<?php if($this->is('page', 'links')): ?> class="current"<?php endif; ?>><a href="<?php $this->options->siteUrl(); ?>links"><?php _e('邻居'); ?></a></li>
			
		</ul>
	</div>
	</div>
</div>
<div id="content">
<!--博客顶部加载条JS-->
<script type="text/javascript">$("#page_loading_in").animate({width:"20%"});</script>
<!--博客顶部加载条JS END-->
	<div class="row clear">